/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package is.bean.entity.employee;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.*;

/**
 *
 * @author aspr0
 */
public interface EmployeeBeanRemoteHome extends EJBHome
{
    is.bean.entity.employee.EmployeeBeanRemote findByPrimaryKey(Integer key) throws RemoteException, FinderException;

    Collection findByExample(Employee example, int start, int end) throws RemoteException;

    EmployeeBeanRemote createInstance(Employee data) throws CreateException, RemoteException;

    Collection findParentsAvailable(Integer id) throws RemoteException;

    boolean entityExist(Integer primaryKey) throws RemoteException;

    Collection findByRange(int start, int end) throws FinderException, RemoteException;

    int countFind(Employee example) throws RemoteException;
}
